package xyy.d3erpapi.service;

import xyy.d3erpapi.pojo.poppo.ApiRPCResult;
import xyy.d3erpapi.pojo.poppo.SellerCustomerCallBackDto;
import xyy.d3erpapi.pojo.poppo.SellerOrderCallBackDto;

import java.util.List;
import java.util.Map;

public interface PopApiService {
    //数据上报
    <T> ApiRPCResult pushDataInfo(List<T> list, Integer taskId);

    //数据拉取
    <T> List<T> pullDataInfo(Integer taskId, Class<T> tClass);

    //数据筛选接口
    List<String> queryData(Integer taskId);

    //订单回调接口
    ApiRPCResult orderCallBack(List<SellerOrderCallBackDto> callBackDtoList);

    //客户回调接口
    ApiRPCResult customerCallBack(List<SellerCustomerCallBackDto> callBackDtoList);

    //心跳检测接口
    void pushClientInfo();
    //数据上报
    ApiRPCResult<Boolean> pushDataInfo(Map<String, Object> var1);

}
